﻿<script src="http://web.qstatic.com/jsapi/alloy.api.js"></script>
<script language="javascript">
alloy.system.setOpenURL();
</script>
<div id="header" style=" position:relative; overflow:hidden;">
	<div style="color:#E75718;">
		<span class="header_left"></span>
        <?PHP if($userid == "") { ?>
		<span class="header_right Setup"><a href="<?php echo "http://www.gouwutu.com/myservices/bangding.html?ref=".urlencode($_SERVER['SERVER_NAME'].$_SERVER[ "REQUEST_URI"]); ?>">设置返现账号</a></span>
        <?php
		 }
		 else
		 {
			$rows = mysql_fetch_assoc(mysql_query("select count(*) as tmp from gwt_msg where see='0' and touser=".$userid));
			$allCount = $rows["tmp"];
		?>
        <span class="header_right"><b class="zhongxin"></b><a href="http://www.gouwutu.com/myservices/qqplus_index.php?id=<?php echo $userid; ?>"><?php echo $zfb; ?></a>&nbsp;|&nbsp;<a style="text-decoration:none;" title="点击查看消息" target="_blank" href="http://www.gouwutu.com/myservices/msg.php?id=4601">消息<?php if($allCount != '0' || $allCount == ''){ ?>（<font color="#00f"><?php echo $allCount; ?></font>）<?php } ?></a>&nbsp;|&nbsp;<a href="http://www.gouwutu.com/register_nocheck.php?opt=qqpluslogout">退出</a></span>
        <?php } ?>
  	</div>
</div>